home *** CD-ROM | disk | FTP | other *** search
/ Scene Storm / Scene Storm - Volume 1.iso / coding / asm / utils / recoqlib / doc / recoqlib.auto
Text File  |  1980-01-03  |  1KB  |  31 lines

  1.   *--------------------------------------------------------------------*
  2.   *                     recoq.library version 1.3                      *
  3.   *--------------------------------------------------------------------*
  4.   *                   Written by cath of LSd in 1993                   *
  5.   *--------------------------------------------------------------------*
  6.  
  7. Name
  8.     rqWhatIs: Determines file types, if possible.
  9.  
  10. Synopsis
  11.     rqWhatIs( buffer )
  12.                    A0
  13.         ULONG rqWhatIs(ULONG &buffer)
  14.  
  15. Function
  16.     This attempts to determine the type of file which is loaded at buffer.
  17. If a match is made then D2 will point to a string which describes the file,
  18. and D3 will be set to the length of the string. This enables it to be passed
  19. directly to DOS Write or if you move D2 to D1 you can pass it directly to
  20. PutStr, as the string is also zero terminated (ASCIZ). If no match is found
  21. the D0 will be zero and D2 will point to the a string describing a data or
  22. absolute file.
  23.  
  24. Inputs
  25.        buffer: the address of the buffer containing the file
  26. Result
  27.        d0 Success flag
  28.        d2 ptr to ASCIZ string
  29.        d3 length of string ( not including terminating 0 )
  30. Bugs
  31.        None known